<!DOCTYPE html>
<html lang="zh">
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="common/header :: header(~{::title},~{::link},~{::style})">
    <style>


    </style>
    <title>首页</title>
    <link rel="icon" th:href="@{/assets/img/lcxm.ico}" type="image/ico">
</head>

<body class="body">
<!--导航-->
<div th:replace="common/nav :: nav(true)"></div>

<div class="container">

    <div class="row">
        <div style="margin-top: 20px;"></div>
        <div class="row">

            <!-- btn start -->
            <div id="order" class="col-md-offset-1 col-md-5 ">
                <div class="jumbotron well-sm ">
                    <h5 class="text-primary">前往点餐吧,如果你加班的话</h5>
                    <p>

                        <a th:unless="${starting}" class="btn btn-primary btn-lg btn-block" role="button"
                           th:href="@{/order/}">
                            前往点餐</a>
                        <a th:if="${starting}" class="btn btn-primary btn-lg btn-block headerBox" role="button"
                           th:href="@{/order/}">
                            正在点餐中</a>
                    </p>
                </div>
            </div>
            <!-- btn end -->

            <!-- btn start -->
            <div id="open" class="col-md-offset-1 col-md-5 ">
                <div class="jumbotron well-sm">
                    <h5 class="text-info">赶紧开启点餐吧，小伙伴们都饿了，如果你是管理员的话</h5>
                    <p><a class="btn btn-info btn-lg btn-block" role="button" th:href="@{/start/open}">
                        开启点餐</a>
                    </p>
                </div>
            </div>
            <!-- btn end -->
        </div>
        <div class="row">
            <!-- btn start -->
            <div id="" class="col-md-offset-1 col-md-5 ">
                <div class="jumbotron well-sm">
                    <h5 class="text-danger">查看点餐结果，还可以导出</h5>
                    <p><a class="btn btn-danger btn-lg btn-block" role="button" th:href="@{/order/list}">
                        点餐列表</a>
                    </p>
                </div>
            </div>

            <!-- btn end -->
            <!-- btn start -->
            <div id="food" class="col-md-offset-1 col-md-5 ">
                <div class="jumbotron well-sm">
                    <h5 class="text-success">配置套餐，可把某个套餐默认</h5>
                    <p><a class="btn btn-success btn-lg btn-block" role="button" th:href="@{/food/}">
                        配置套餐</a>
                    </p>
                </div>
            </div>
            <!-- btn end -->

        </div>


    </div>
</div>

<!-- 引入通用js-->
<div th:replace="common/footer :: footer"></div>

</body>
</html>